﻿using System.Collections.Generic;
using System.ServiceModel;
using System.Data;
using System;

namespace ibba.src.norisk.Contracts
{
    [ServiceContract()]
    public interface IContratoVigencia
    {
        [OperationContract()]
        List<ContratoVigencia> ObterContratoVigencia(string contrato, int idParametro);
        [OperationContract()]
        int DesativarContratoVigencia(int? idVigencia, string cdContrato, string pCodUsuario, int idParametro);
        [OperationContract()]
        int AtualizarContratoVigencia(List<Contracts.ContratoVigencia> pContrato, string pCodUsuario);
        [OperationContract()]
        List<System.String> ValidarCargaVigencias(List<Contracts.ContratoVigencia> pContrato);
        [OperationContract()]
        List<ContratoVigencia> ListarContratoVigenciaLog(DateTime dtInicio, DateTime dtTermino);
    }
}
